package main
import "fmt"

type MethodUtils struct{

}

func (me MethodUtils) print(){
	for i:=0;i<10;i++{
		for j:=0;j<5;j++{
			fmt.Print("*")
		}
		fmt.Println()
	}
}

func (me MethodUtils) customPrint(ii int,jj int){
	for i:=0;i<ii;i++{
		for j:=0;j<jj;j++{
			fmt.Print("*")
		}
		fmt.Println()
	}
}

func (me MethodUtils) calcArea( len float64 , width float64 ){
	fmt.Println(len*width)
}

func (me MethodUtils) jiujiu( m int ){
	fmt.Println("请输入 你想打印到哪里")
	var n int =0
	fmt.Scanln(&n)
	for i:=1;i<=n;i++{
		for j:=1;j<i+1;j++{
			fmt.Printf("%v * %v = %v\t",j,i,i*j)
		}
		fmt.Println()
	}
}
func main(){
	var me MethodUtils
	me.print()
	me.customPrint(3,20)
	me.calcArea(10.2,1023.213)
	me.jiujiu(9)
}